<?php echo $header; ?>
<!--    <?php if ($error) { ?>
    <div class="warning"><?php echo $error; ?></div>
    <?php } ?>
	
    <form action="<?php echo str_replace('&', '&amp;', $action); ?>" method="post" enctype="multipart/form-data" id="forgotten">
      <p><?php echo $text_email; ?></p>
      <b style="margin-bottom: 2px; display: block;"><?php echo $text_your_email; ?></b>
      <div style="background: #F7F7F7; border: 1px solid #DDDDDD; padding: 10px; margin-bottom: 10px;">
        <table>
          <tr>
            <td width="150"><?php echo $entry_email; ?></td>
            <td><input type="text" name="email" /></td>
          </tr>
        </table>
      </div>
      <div class="buttons">
        <table>
          <tr>
            <td align="left"><a onclick="location = '<?php echo str_replace('&', '&amp;', $back); ?>'" class="button"><span><?php echo $button_back; ?></span></a></td>
            <td align="right"><a onclick="$('#forgotten').submit();" class="button"><span><?php echo $button_continue; ?></span></a></td>
          </tr>
        </table>
      </div>
    </form>
  </div>-->

<div class="col1 float_left">
  <div class="col1_content p20r p15t brsolid m15b">
  <h1 class="whitetext"><?php echo $text_your_email; ?></h1>
  <br/>
  <p><?php echo $text_email; ?></p>
  <br/>
  <?php if ($error) { ?>
  <div align="left" class="error"><?php echo $error; ?><br />
    <br />
  </div>
  <?php } ?>
  <?php 
  $message='';
  if (isset($this->session->data['success']))
  {
  	$message=$this->session->data['success'];
  }
  if ($message!='') 
  { 
  ?>
  <div align="left" class="success"><?php echo $this->session->data['success']; ?><br />
    <br /><a onclick="location = '<?php echo str_replace('&', '&amp;', $continue); ?>'" class="button"><span><img src="catalog/view/theme/w4u/img/conttinue_but.png"  /></span></a>
  </div>
   <?php 
  	$this->session->data['success']=''; // remove the success message
  } 
  	else
	{
  ?> 
  <form action="<?php echo str_replace('&', '&amp;', $action); ?>" method="post" enctype="multipart/form-data" id="forgotten">
    <label class="lb1 float_left"><?php echo $entry_email; ?></label>
    <input name="email" type="text" class="txt2 float_left"/><br style="clear:both" />
    <div><br /><label class="lb1 float_left">&nbsp;</label>
    <a onclick="$('#forgotten').submit();" class="button"><img src="catalog/view/theme/w4u/img/send_but.png" /></a> <a  href="javascript:document.forms[1].reset()"><img src="catalog/view/theme/w4u/img/nul_but.png" /></a></div>

  </form>
  <?php 
  } 
  ?>
  	  <div style="height:150px"></div>
</div>

  <br style="clear:both" />
</div>
<?php echo $column_right; ?> <?php echo $footer; ?> 